package com.ssh.dao;

import java.util.List;

import com.ssh.model.OntologyFile;

public interface IOntologyFileDAO {
	public static final String ONTOLOGYNAME = "ontologyOwner";
	
	/* (non-Javadoc)
	 * @see com.ssh.dao.IOrdersDAO#save(com.ssh.model.Orders)
	 */
	public abstract void save(OntologyFile transientInstance);

	/* (non-Javadoc)
	 * @see com.ssh.dao.IOrdersDAO#delete(com.ssh.model.Orders)
	 */
	public abstract void delete(OntologyFile persistentInstance);

	/* (non-Javadoc)
	 * @see com.ssh.dao.IOrdersDAO#findByProperty(java.lang.String, java.lang.Object)
	 */
	@SuppressWarnings("unchecked")
	public abstract List<OntologyFile> findByProperty(String propertyName,
			Object value);

	/* (non-Javadoc)
	 * @see com.ssh.dao.IOrdersDAO#findAll()
	 */
	@SuppressWarnings("unchecked")
	public abstract List<OntologyFile> findAll();
	public abstract List<OntologyFile> findByOwnerName(String ownerName) ;
	public abstract OntologyFile findById(java.lang.Integer id);
}